def xtriangle(n=8):
    for i in range(n):
        for j in range(i + 1):
            print('*', end='')
        print()


for i in range(1, 3 + 1):
    xtriangle(i)

xtriangle()